<template>
  <div>
    <!-- 属性绑定指令 v-bind -->
    <img v-bind:src="imgSrc" alt="" />
    <!-- v-bind可以简写为: -->
    <img :src="imgSrc" alt="" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      imgSrc:
        "https://ts1.cn.mm.bing.net/th?id=ORMS.5a5747007a70166f97a46bc2d48f1cbf&pid=Wdp&w=300&h=156&qlt=90&c=1&rs=1&dpr=1&p=0",
    };
  },
};
</script>

<style>
</style>